package com.tengya.buyhelper.cons;

/**
 * Descrip:
 * Author: tengya
 * Time: 2020-04-28 15:53
 * Params:
 */
public class ConfigBuild {

    private static ConfigBuild mConfigBuild;

    public static ConfigBuild getInstance() {
        if (mConfigBuild == null){
            mConfigBuild = new ConfigBuild();
        }
        return mConfigBuild;
    }

    public int buyState;
    public String timeDiff;
    public int durationTime;


    public int getBuyState() {
        return buyState;
    }

    public void setBuyState(int buyState) {
        buyState = buyState;
    }

    public String getTimeDiff() {
        return timeDiff;
    }

    public void setTimeDiff(String timeDiff) {
        timeDiff = timeDiff;
    }

    public int getDurationTime() {
        if (durationTime <= 0){
            durationTime = 5000;
        }
        return durationTime;
    }

    public void setDurationTime(int durationTime) {
        this.durationTime = durationTime;
    }
}
